package com.frxuexi.lib_base.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.frxuexi.lib_base.entity.Comment
import com.frxuexi.lib_base.entity.CommentBeanItem
import com.frxuexi.lib_base.entity.EmpBean
import com.frxuexi.lib_base.entity.LatBean
import com.frxuexi.lib_base.entity.ParkBeanItem
import com.frxuexi.lib_base.entity.RepairBeanItem
import com.frxuexi.lib_base.entity.UserEntity
import com.frxuexi.lib_base.entity.VideoData
import com.frxuexi.lib_base.entity.VideoZanBean

@Database(entities = [RepairBeanItem::class,UserEntity::class,EmpBean::class,LatBean::class, Comment::class,VideoZanBean::class,VideoData::class], version = 1, exportSchema = false)
abstract class ParkDatabase :RoomDatabase(){

    abstract fun getRepairDao():RepairDao

    abstract fun getUserDao():UserDao

    abstract fun getEmpDao():EmpDao

    abstract fun getLatDao():LatDao

    abstract fun getCommentDao():CommentDao

    abstract fun getZanDao():ZanDao

    abstract fun getVideoDao():VideoDao
}